package com.yunji.order.dao;

import com.yunji.common.base.IBaseDao;
import com.yunji.order.domain.RefundDetailDO;
import com.yunji.order.dto.OrderDetailRefundDTO;
import com.yunji.order.dto.RefundDetailParam;
import com.yunji.order.vo.RefundDetailVO;

import java.util.List;

/**
 * @author : peter-zhu
 * @date : 2025/3/26 14:04
 * @description : TODO
 **/
public interface IRefundDetailDao extends IBaseDao<RefundDetailDO> {
    List<OrderDetailRefundDTO> getDetailNumsByOid(List<Long> orderIds, List<Integer> statusList);

    List<OrderDetailRefundDTO> getStatusNumsByOid(List<Long> orderIds);

    List<RefundDetailDO> getDetailsByRids(List<Long> refundIds);

    List<RefundDetailVO> getDetailList(RefundDetailParam param);
}
